package com.fdb.efp.console.api.rest;

import com.fdb.basic.framework.core.constant.ResponseData;
import com.fdb.basic.framework.web.controller.AbstractController;
import com.fdb.efp.console.service.facade.ZXHtmlInfoService;
import com.fdb.efp.console.service.vo.ZXHtmlInfoVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/api")
public class ZXHtmlInfoController extends AbstractController {
	@Autowired
	@Qualifier("zxHtmlInfoService")
	private ZXHtmlInfoService zxHtmlInfoService;
	
	@PostMapping(value = "/cus/rpt/show")
	public @ResponseBody ResponseData<ZXHtmlInfoVO> queryByPk(@RequestBody ZXHtmlInfoVO vo) {
		ZXHtmlInfoVO outputVo = zxHtmlInfoService.queryByPk(vo);
		return getResponseData(outputVo);
	}
	
	
	
}
